﻿@model Lost_and_Found.Models.ViewModel.GetModel

@{
    ViewBag.Title = "Get";
}

<script src="@Url.Content("~/Scripts/LAF/check_lost.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Content/tagmanager-master/bootstrap-tagmanager.js")" type="text/javascript"></script>
<link href="@Url.Content("~/Content/tagmanager-master/bootstrap-tagmanager.css")" type="text/css" rel="stylesheet"/>

<div class="row">
    <h1 class="page_title">báo mất đồ...</h1>
</div>

<br />
@using (Html.BeginForm("Get", "LAF", FormMethod.Post))
{    
    <div class="row" onclick="showValue()">
        <span class="label_heading">
            @Html.LabelFor(m => m.Title)
        </span>
        @Html.TextBoxFor(m => m.Title)
        
        <div class="row">
            <span class="label_heading">
            @Html.LabelFor(m => m.Date)
        </span>
        @Html.TextBoxFor(m => m.Date)
        </div>
        <div class="row">
            <span class="label_heading">
            @Html.LabelFor(m => m.Location)
        </span>
        @Html.TextBoxFor(m => m.Location)
        </div>

        <span class="label_heading">
            @Html.LabelFor(m => m.GetItemName)
        </span>
        @Html.TextBoxFor(m => m.GetItemName, new { @class = "LostItemName", onchange = "check_lost:showValue()", onkeyup = "check_lost:doKeyUp(event)" })
    </div>
    <input type="hidden" id="hiddenTag" value =""/>
<div id="att">
</div>
<div class="row buttons">
    <input id="CreateProjectButton" name="CreateProjectaButton" class="ok" value="Ðăng bài" type="submit">
    <div class="clear"></div>
</div>
<script type="text/javascript">
    jQuery("#LostItemName").tagsManager({
        typeahead: true,
        typeaheadAjaxPolling: true,
        typeaheadAjaxSource: "/LAF/LookupTags",
        hiddenTagListName: "hiddenTagList",
        validator: false
    });
</script>
}








